home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / gnome-vfs-2.0 / libgnomevfs / gnome-vfs-cancellation.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-05-01  |  1.7 KB  |  47 lines

  1. /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
  2. /* gnome-vfs-cancellation.h - Cancellation handling for the GNOME Virtual File
  3.    System access methods.
  4.  
  5.    Copyright (C) 1999, 2001 Free Software Foundation
  6.  
  7.    The Gnome Library is free software; you can redistribute it and/or
  8.    modify it under the terms of the GNU Library General Public License as
  9.    published by the Free Software Foundation; either version 2 of the
  10.    License, or (at your option) any later version.
  11.  
  12.    The Gnome Library is distributed in the hope that it will be useful,
  13.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15.    Library General Public License for more details.
  16.  
  17.    You should have received a copy of the GNU Library General Public
  18.    License along with the Gnome Library; see the file COPYING.LIB.  If not,
  19.    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  20.    Boston, MA 02111-1307, USA.
  21.  
  22.    Author: Ettore Perazzoli <ettore@gnu.org> 
  23.            Seth Nickell <snickell@stanford.edu>
  24. */
  25.  
  26. #ifndef GNOME_VFS_CANCELLATION_H
  27. #define GNOME_VFS_CANCELLATION_H
  28.  
  29. #include <glib/gtypes.h>
  30.  
  31. G_BEGIN_DECLS
  32.  
  33. typedef struct GnomeVFSCancellation GnomeVFSCancellation;
  34.  
  35.  
  36. GnomeVFSCancellation *
  37.      gnome_vfs_cancellation_new     (void);
  38. void     gnome_vfs_cancellation_destroy (GnomeVFSCancellation *cancellation);
  39. void     gnome_vfs_cancellation_cancel  (GnomeVFSCancellation *cancellation);
  40. gboolean gnome_vfs_cancellation_check   (GnomeVFSCancellation *cancellation);
  41. void     gnome_vfs_cancellation_ack    (GnomeVFSCancellation *cancellation);
  42. gint     gnome_vfs_cancellation_get_fd  (GnomeVFSCancellation *cancellation);
  43.  
  44. G_END_DECLS
  45.  
  46. #endif /* GNOME_VFS_CANCELLATION_H */
  47.